package com.colldown.iservice.sysconfig.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.colldown.iservice.sysconfig.dao.ISysConfigDao;
import com.colldown.iservice.sysconfig.service.ISysConfigService;
@Service
public class SysConfigService implements ISysConfigService {
	@Autowired
	ISysConfigDao sysConfigDao;

	@Override
	public List queryDeviceList(Map paramMap) {
		return this.sysConfigDao.queryDeviceList(paramMap);
	}

	/**
	* @Title: queryDeviceConfigById
	* @Description: TODO(根据id查询设备信息)
	* @author Wayne
	* @param paramMap
	* @return
	* @throws
	 */
	public Map queryDeviceConfigById(Map paramMap){
		return this.sysConfigDao.queryDeviceConfigById(paramMap);
	}


	@Override
	public int updDeviceConfigById(Map paramMap) {
		return this.sysConfigDao.updDeviceConfigById(paramMap);
	}
	
	@Override
	public List queryNetDeviceList(Map paramMap) {
		return this.sysConfigDao.queryNetDeviceList(paramMap);
	}

	/**
	* @Title: queryDeviceConfigById
	* @Description: TODO(根据id查询网口设备信息)
	* @author Wayne
	* @param paramMap
	* @return
	* @throws
	 */
	public Map queryNetDeviceConfigById(Map paramMap){
		return this.sysConfigDao.queryNetDeviceConfigById(paramMap);
	}


	@Override
	public int updNetDeviceConfigById(Map paramMap) {
		return this.sysConfigDao.updNetDeviceConfigById(paramMap);
	}
}
